package com.remoting.api.spi.request;

import com.remoting.api.request.RequestHandler;
import com.remoting.api.spi.Factory;
import com.remoting.api.spi.SpiLoader;

/**
 * 请求处理接口工厂
 * <p>说明:</p>
 * <li></li>
 *
 * @author DuanYong
 * @since 2019/5/10 13:28
 */
public interface RequestHandlerFactory extends Factory<RequestHandler> {
    static RequestHandler create() {
        return SpiLoader.load(RequestHandlerFactory.class).get();
    }
}
